/**
 * Created by zhuyunxiao on 2015/2/5.
 */
function personController($scope){
    $scope.person={
        firstName:"John",
        lastName:"Doe",

        fullName: function () {
            var person=$scope.person;
            return        person.firstName+person.lastName;
        }
    }
    $scope.names = [
        {name:'Jani',country:'Norway'},
        {name:'Hege',country:'Sweden'},
        {name:'Kai',country:'Denmark'}
    ];
}